package org.mappland.compltres.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "machine")
public class Machine {
    @TableId(value = "id")
    private Integer id;

    @TableField(value = "ip")
    private String ip;

    @TableField(value = "type")
    private Integer type;

    @TableField(value = "state")
    private Integer state = 0;

    @TableField(value = "introduce")
    private String introduce;

    @Override
    public String toString() {
        return "Machine{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", type=" + type +
                ", state=" + state +
                ", introduce='" + introduce + '\'' +
                '}';
    }
}
